{% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
  <title>{% block title %}{% trans 'glowdrop' %}{% endblock %}</title>
</head>
<body>
  {% if not current_location %}
  {% trans 'your current location is unjudgable, please set it manually '%} 
  {% else %}
  {% blocktrans %}you current location is {{ current_location }} {% endblocktrans %}
  {% endif %}
  <div class="set_location">
    <form action="/accounts/set_location" method="POST">
      <label>{% trans 'set location' %}:</label> 
      <input type="text" name="location" maxlength="100" />
      <input type="submit" value="{% trans 'go'%}">
      <input type="hidden" name="next" value="{{ next }}" />
    </form>
  </div>
</body>